{% extends "../theme/base_zhu.html" %}

{% block base_top_header %}
<br><br>
<div class="panel panel-black">


    <div class="panel-heading">


        <h2>{{ view.title }}</h2>
        <span>{{ str(view.date)[:10] }}</span>
         <span>Author: <a href="http://www.maphub.cn/">地图云集</a></span>
        <span>Browse: {{ view.view_count }} </span>


        {% module widget_editor(router, postinfo.uid, userinfo) %}
        <span class="cmts">
            <a href="/{{ router }}/{{postinfo.uid}}" class="btn btn-xs btn-primary"> View </a>
        </span>

    </div>

    <div class="panel-body">


        <div class="entry">

            <div class="entrycontent">

                {% for diff_dic in html_diff_arr %}


                {% if userinfo and userinfo.role[1] >= '1' %}
                <div class="bg-info"><a href="/post_man/restore/{{ diff_dic['hist_uid'] }}"
                                        class="btn btn-xs btn-warning">Restore</a>
                    <a href="/post_man/delete/{{ diff_dic['hist_uid'] }}" class="btn btn-xs btn-danger">Delete</a>
                </div>
                {% end %}
                {% raw (diff_dic['html_diff']) %}

                <p></p>
                {% end %}

            </div>
        </div>


    </div>
</div>

{% end %}


